### Companies

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-company` | Create a single company in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/create-company.ts) |
| `update-company` | Update a single company in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/update-company.ts) |
| `delete-company` | Deletes a company in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/delete-company.ts) |
| `companies` | Fetches a list of companies from Hubspot | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/companies.ts) |

### Contacts

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-contact` | Create a single contact in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/create-contact.ts) |
| `update-contact` | Updates a single contact in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/update-contact.ts) |
| `delete-contact` | Deletes a contact in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/delete-contact.ts) |
| `contacts` | Fetches a list of contacts from Hubspot | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/contacts.ts) |

### Deals

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-deal` | Creates a single deal in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/create-deal.ts) |
| `update-deal` | Updates a single deal in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/update-deal.ts) |
| `delete-deal` | Deletes a deal in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/delete-deal.ts) |
| `deals` | Fetches a list of deals from Hubspot with their associated companies and contacts | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/deals.ts) |

### Owners

| Function name | Description | Type | Source code |
| - | - | - | - |
| `owners` | Fetches a list of owners from Hubspot | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/owners.ts) |

### Pipelines

| Function name | Description | Type | Source code |
| - | - | - | - |
| `fetch-pipelines` | Fetch all pipelines for an object type. Defaults to deals | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/fetch-pipelines.ts) |

### Products

| Function name | Description | Type | Source code |
| - | - | - | - |
| `products` | Fetches a list of products from Hubspot | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/products.ts) |

### Properties

| Function name | Description | Type | Source code |
| - | - | - | - |
| `fetch-properties` | Fetch the properties of a specified object | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/fetch-properties.ts) |
| `create-property` | Create a property in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/create-property.ts) |

### Roles

| Function name | Description | Type | Source code |
| - | - | - | - |
| `fetch-roles` | Fetch the roles on an account. Requires an enterprise account. | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/fetch-roles.ts) |
| `change-user-role` | Change a user role. Requires an enterprise account. | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/change-user-role.ts) |

### Tasks

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-task` | Creates a single task in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/create-task.ts) |
| `update-task` | Updates a single company in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/update-task.ts) |
| `delete-task` | Deletes a task in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/delete-task.ts) |
| `tasks` | Fetches a list of tasks from Hubspot | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/tasks.ts) |

### Users

| Function name | Description | Type | Source code |
| - | - | - | - |
| `whoami` | Fetch current user information | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/whoami.ts) |
| `create-user` | Creates a single user in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/create-user.ts) |
| `delete-user` | Deletes a user in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/delete-user.ts) |
| `users` | Fetches a list of users from Hubspot | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/users.ts) |

### Others

| Function name | Description | Type | Source code |
| - | - | - | - |
| `fetch-account-information` | Fetch the account information from Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/fetch-account-information.ts) |
| `fetch-custom-objects` | Fetch custom objects in Hubspot. Requires Hubspot enterprise | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/fetch-custom-objects.ts) |
| `create-note` | Creates a single note in Hubspot | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/actions/create-note.ts) |
| `service-tickets` | Fetches a list of service tickets from Hubspot | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/service-tickets.ts) |
| `knowledge-base` | Fetches a list of knowledge base from Hubspot | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/knowledge-base.ts) |
| `currency-codes` | Fetch hubspot deals | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/hubspot/syncs/currency-codes.ts) |